home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 1 / CU Amiga Magazine CD-ROM Special Edition (1995)(EMAP Images)(GB)[Issue 1995-11].iso / Aminet / comm / tcp / ATCP_sdk_40_gc.lha / AmiTCP-4.0-gcc / netinclude / rpcsvc / yppasswd.x < prev   
Text File  |  1995-04-07  |  716b  |  36 lines

  1. /* @(#)yppasswd.x    2.1 88/08/01 4.0 RPCSRC */
  2. /* @(#)yppasswd.x 1.1 87/04/13 Copyr 1987 Sun Micro */
  3.  
  4.  
  5. /*
  6.  * YP password update protocol
  7.  * Requires unix authentication
  8.  */
  9. program YPPASSWDPROG {
  10.     version YPPASSWDVERS {
  11.         /*
  12.          * Update my passwd entry 
  13.          */
  14.         int
  15.         YPPASSWDPROC_UPDATE(yppasswd) = 1;
  16.     } = 1;
  17. } = 100009;
  18.  
  19.  
  20. struct passwd {
  21.     string pw_name<>;    /* username */
  22.     string pw_passwd<>;    /* encrypted password */
  23.     int pw_uid;        /* user id */
  24.     int pw_gid;        /* group id */
  25.     string pw_gecos<>;    /* in real life name */
  26.     string pw_dir<>;    /* home directory */
  27.     string pw_shell<>;    /* default shell */
  28. };
  29.  
  30. struct yppasswd {
  31.     string oldpass<>;    /* unencrypted old password */
  32.     passwd newpw;        /* new passwd entry */
  33. };
  34.  
  35.  
  36.